﻿/**
* Constructs Person objects
* @class Person
* @constructor
* @namespace Zeus.Model
* @param {String} first First name
* @param {String} last Last name
*/
ZEUS_MODEL.Person = function (first, last) {
    /**
    * Name of the person
    * @property first_name
    * @type String
    */
    this.first_name = first;
    
    /**
    * Last (family) name of the person
    * @property last_name
    * @type String
    */
    this.last_name = last;
};

/**
* Returns the name of the person object
*
* @method getName
* @return {String} The name of the person
*/
ZEUS_MODEL.Person.prototype.getName = function () {
    return this.first_name + ' ' + this.last_name;
};


